package blog;

import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

/**
 * @author 23050
 * @version 1.0
 * @description: 测试初始化操作
 * @date 2024/1/9 10:30
 */
public class InitAndEnd {

    static WebDriver webDriver;


    @BeforeAll
    static void setUp(){
        webDriver = new ChromeDriver();
    }

    @AfterAll
    static void tearDown() {
        webDriver.quit();
    }


}
